package com.example.medicalzb.domain;

import com.example.medicalzb.domain.superdomain.SuperDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 公司政策实体类
 */
@Data
@ToString
public class CompanyPolicy extends SuperDomain {
    private Long id;//政策id
    private String title;//政策标题
    private String message;
    private Long companyId;//公司id
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
}
